/*
 *  SyncIT , easy synchronization of files between computers and devices.
 *  Copyright (C) 2011  Christian Masus <cmasus(at)gmail.com>
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version. If redistributing and/or modifying
 *  this file, this notice must be included in the redistributed or
 *  modified copy.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package log;

import java.util.Date;

/**
 * Interface for the log package.
 * @author Christian Masus
 *
 */
public interface LogInterface {

	public void log(Date date, String type, String message);
	public void logError(Date date, String message);
	public void logWarning(Date date, String message);
	public void logInfo(Date date, String message);

	public void registerLogReceivers(String regName, LogRestrictions restrictions);
	public void unregisterLogReceivers(String regName);
	public void changeLogReceiversRestrictions(String regName, LogRestrictions restrictions);
	public void askForLogHistory(String regName);
	public void subscribeOnLog(String regName);
	public void stopLogSubscription(String regName);
}
